/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bice.util;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author sirius
 */
public class MessageProxy implements Serializable {
    
    private String message;
    private Date date;

    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    /**
     * @param message the message to set
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * @return the date
     */
    public Date getDate() {
        return date;
    }

    /**
     * @param date the date to set
     */
    public void setDate(Date date) {
        this.date = date;
    }
    
    public MessageProxy(String message, Date date) {
        this.message = message;
        this.date = date;
    }
    
    public MessageProxy(String message) {
        this(message, new Date());
    }
    
    public MessageProxy() {
    }
    
}
